import instance from "@/tools/axios";

// 添加线下客户跟进
const addFollowClues = async (data: any): Promise<ResponseApiDto> => {
    return instance.post("/FollowClues/Add", data);
};
// 删除线下客户跟进
const deleteFollowClues = async (data: any): Promise<ResponseApiDto> => {
    return instance.post("/FollowClues/Delete", data);
};
// 修改线下客户跟进
const updateFollowClues = async (data: any): Promise<ResponseApiDto> => {
    return instance.post("/FollowClues/Update", data);
};
// 跟进的编号
const getFollowCluesid = async (params: any): Promise<ResponseApiDto> => {
    return instance.get("/FollowClues/GetFollowCluesid", params);
};
// 客户跟进的编号
const getFollowClueid = async (params: any): Promise<ResponseApiDto> => {
    return instance.get("/FollowClues/GetFollowClueid", params);
};
export { 
    addFollowClues,
    deleteFollowClues,
    updateFollowClues,
    getFollowCluesid,
    getFollowClueid 
};